#ifndef DATAENCODINGS_H
#define DATAENCODINGS_H

#include <vector>
#include <string>

namespace qrcode{

//ECI code
static const int UTF8 = 26;
static const int US_ASCII = 27;
static const int Big5 = 28;
static const int GB2312 = 29;
static const int GBK =29;
static const int Shift_JIS = 20;

class DataEncodings
{
private:

    std::vector<char> GetECIAssignmentNumber(int &ECICode);
    std::string ToEncodingStr(int &ECICode);
public:
    DataEncodings();

    std::vector<char> GetECIIndicator(int ECICode);
    void ConvertCode(std::string &msg, int &ECICode);
};

}

#endif // DATAENCODINGS_H
